<!DOCTYPE html>
<html>
<head>
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
</head>
<body>

<h1 id="title">我的第一个标题</h1>

<p>我的第一个段落。</p>

<script type="text/javascript">
    $("#title").click(function () {
        show_child();
    });
    function show_child() {
        var child = window.open("child.html", "child", "height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");
        if (!child.closed) {

        }
    }

</script>
</body>
</html>

